﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MKIB3Game
{
    public class Result
    {
        private int countPlayers = 0;
        private int round;
        private bool running;
        private int delay;
        private Opponent[] players;

        public Result(int round, bool running, int delay, Opponent[] players)
        {
            setRound(round);
            setRunning(running);
            setDelay(delay);
            setPlayers(players);
        }

        public void addPlayer(Opponent players)
        {
            this.players[countPlayers] = players;
        }
        public void  setPlayers(Opponent[] players)
        {
            this.players = players;
        }

        public void setDelay(int delay)
        {
            this.delay = delay;
        }

        public void setRunning(bool running)
        {
            this.running = running;
        }

        public void setRound(int round)
        {
            this.round = round;
        }

        public Opponent[] getPlayers()
        {
            return players;
        }

        public int getDelay()
        {
            return delay;
        }

        public bool getRunning()
        {
            return running;
        }

        public int getRound()
        {
            return round;
        }
    }
}
